package com.system.entity;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.CrossOrigin;

import java.io.Serializable;

@Component
@CrossOrigin
public class Takecourse extends TakecourseKey implements Serializable {
    private Integer usualPerformance;

    private Integer finalPerformance;

    private Integer experience;

    private Integer totalPerformance;

    private String coursetype;

    private Integer entryed;
    private String stu_name;
    private Long stu_id;

    public Integer getentryed() {
        return entryed;
    }

    public void setEntryed(Integer entryed) {
        entryed = entryed;
    }

    public Takecourse(Integer courseId, Long stuId, Integer usualPerformance, Integer finalPerformance, Integer experience, Integer totalPerformance, String coursetype) {
        super(courseId, stuId);
        this.usualPerformance = usualPerformance;
        this.finalPerformance = finalPerformance;
        this.experience = experience;
        this.totalPerformance = totalPerformance;
        this.coursetype = coursetype;
    }

    public Takecourse() {
        super();
    }

    public String getStu_name() {
        return stu_name;
    }

    public void setStu_name(String stu_name) {
        this.stu_name = stu_name;
    }

    public Long getStu_id() {
        return stu_id;
    }

    public void setStu_id(Long stu_id) {
        this.stu_id = stu_id;
    }

    public Integer getUsualPerformance() {
        return usualPerformance;
    }

    public void setUsualPerformance(Integer usualPerformance) {
        this.usualPerformance = usualPerformance;
    }

    public Integer getFinalPerformance() {
        return finalPerformance;
    }

    public void setFinalPerformance(Integer finalPerformance) {
        this.finalPerformance = finalPerformance;
    }

    public Integer getExperience() {
        return experience;
    }

    public void setExperience(Integer experience) {
        this.experience = experience;
    }

    public Integer getTotalPerformance() {
        return totalPerformance;
    }

    public void setTotalPerformance(Integer totalPerformance) {
        this.totalPerformance = totalPerformance;
    }

    public String getCoursetype() {
        return coursetype;
    }

    public void setCoursetype(String coursetype) {
        this.coursetype = coursetype == null ? null : coursetype.trim();
    }
}
